module.exports = {
    apps: [
        {
            name: 'frcp',
            exec_mode: 'cluster',
            instances: '2',
            script: './server/index.mjs',
            watch: false,
            ignore_watch: ['node_modules', 'logs'],
            max_memory_restart: '1G',
            env: {
                HOST: '0.0.0.0',
                PORT: 6666
            },
            env_production: {
                HOST: '0.0.0.0',
                PORT: 6666
            }
        }
    ]
}